package com.ytzl.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 标签字典表
 * @TableName itrip_label_dic
 */
@TableName(value ="itrip_label_dic")
@Data
public class ItripLabelDic implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * key值
     */
    private String name;

    /**
     * value值
     */
    private String value;

    /**
     * 描述
     */
    private String description;

    /**
     * 父级标签id(1级标签则为0)
     */
    private Long parentid;

    /**
     * 标签图片地址
     */
    private String pic;

    /**
     * 
     */
    private Date creationdate;

    /**
     * 
     */
    private Long createdby;

    /**
     * 
     */
    private Date modifydate;

    /**
     * 
     */
    private Long modifiedby;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}